export const addSearchHistory = (id: Number, image: String) => {
	let history = uni.getStorageSync("searchHistory")
	if(history === "" || !history){
		history = [];
	}
	if(history.length === 10){
		history.slice(0, -1)
	}
	history.push({id,image})
	uni.setStorageSync("searchHistory", history);
}